const routes = [
    {
        path: '/',
        redirect: '/conf-center/dataSources',
    },
    {
        path: '/conf-center',
        redirect: '/conf-center/dataSources',
        
    },
    {
        name: 'dataSources',
        path: '/conf-center/dataSources',
        component: () =>
            import('@/pages/dataSources'),
        meta: {
            iskeep: false,
            title: "数据源配置"
        }
    },
    {
        name: 'Indicators',
        path: '/conf-center/Indicators',
        component: () =>
            import('@/pages/Indicators'),
        meta: {
            iskeep: false,
            title: "指标配置"
        }
    },
    {
        name: 'ChartPage',
        path: '/conf-center/ChartPage',
        component: () =>
            import('@/pages/ChartPage'),
        meta: {
            iskeep: false,
            title: "活动看板"
        }
    },
    {
        name: 'DateFormat',
        path: '/conf-center/DateFormat',
        component: () =>
            import('@/pages/DateFormat'),
        meta: {
            iskeep: false,
            title: "日期格式"
        }
    },
    {
        name: 'TableFormat',
        path: '/conf-center/TableFormat',
        component: () =>
            import('@/pages/TableFormat'),
        meta: {
            iskeep: false,
            title: "表格格式"
        }
    },
    {
        name: '404',
        path: '*',
        component: () =>
            import('@/pages/404'),
    },
]
export default routes